package com.exigenservices.practice.roadcompanion.dao;

import com.exigenservices.practice.roadcompanion.entity.User;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Konstantin
 * Date: 10.07.13
 * Time: 16:37
 * To change this template use File | Settings | File Templates.
 */
public interface UsersDAO {

    public User createUsers(User users) throws Exception;

    public void updateUsers(User users) throws Exception;

    public void deleteUsers(User users) throws Exception;

    public User getUser(Long id) throws Exception;

    public User getUser(String login) throws Exception;

    public List<User> getAllUsers() throws Exception;
}
